net/http.http2responseWriterState.snapHeader (field)
13 uses
net/http (current package)
h2_bundle.go#L6371: snapHeader Header // snapshot of handlerHeader at WriteHeader time
h2_bundle.go#L6443: if clen = rws.snapHeader.Get("Content-Length"); clen != "" {
h2_bundle.go#L6444: rws.snapHeader.Del("Content-Length")
h2_bundle.go#L6451: _, hasContentLength := rws.snapHeader["Content-Length"]
h2_bundle.go#L6455: _, hasContentType := rws.snapHeader["Content-Type"]
h2_bundle.go#L6458: ce := rws.snapHeader.Get("Content-Encoding")
h2_bundle.go#L6464: if _, ok := rws.snapHeader["Date"]; !ok {
h2_bundle.go#L6469: for _, v := range rws.snapHeader["Trailer"] {
h2_bundle.go#L6478: if _, ok := rws.snapHeader["Connection"]; ok {
h2_bundle.go#L6479: v := rws.snapHeader.Get("Connection")
h2_bundle.go#L6480: delete(rws.snapHeader, "Connection")
h2_bundle.go#L6490: h: rws.snapHeader,
h2_bundle.go#L6763: rws.snapHeader = http2cloneHeader(rws.handlerHeader)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |